//
//  FlutterMapControllerRegister.h
//  amap_flutter_map
//
//  Created by 伊小洛 on 2023/12/5.
//

#import "FlutterMapControllerProtocol.h"

#ifndef FlutterMapControllerRegister_h
#define FlutterMapControllerRegister_h

@interface FlutterMapControllerRegister : NSObject

@property (nonatomic, strong) id<FlutterMapControllerProtocol> controller;

+ (instancetype)shared;

- (nullable id<FlutterMapControllerProtocol>)buildMapController;
- (nullable id<FlutterMapControllerProtocol>)buildMapControllerWithType:(NSInteger)type;

- (void)registerBuilder: (id<FlutterMapControllerProtocol>(^)(NSInteger))builder;
@end

#endif /* FlutterMapControllerRegister_h */
